home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ETO Development Tools 4
/
ETO Development Tools 4.iso
/
Tools - Objects
/
Macintosh Programmer’s Workshop
/
MPW 3.1
/
MPW
/
Interfaces
/
CIncludes
/
SegLoad.h
< prev
next >
Wrap
Text File
|
1990-12-13
|
1KB
|
50 lines
/************************************************************
Created: Thursday, September 7, 1989 at 7:21 PM
SegLoad.h
C Interface to the Macintosh Libraries
Copyright Apple Computer, Inc. 1985-1989
All rights reserved
************************************************************/
#ifndef __SEGLOAD__
#define __SEGLOAD__
#ifndef __TYPES__
#include <Types.h>
#endif
#define appOpen 0 /*Open the Document (s)*/
#define appPrint 1 /*Print the Document (s)*/
struct AppFile {
short vRefNum;
OSType fType;
short versNum; /*versNum in high byte*/
Str255 fName;
};
typedef struct AppFile AppFile;
#ifdef __cplusplus
extern "C" {
#endif
pascal void UnloadSeg(void * routineAddr)
= 0xA9F1;
pascal void ExitToShell(void)
= 0xA9F4;
pascal void GetAppParms(Str255 apName,short *apRefNum,Handle *apParam)
= 0xA9F5;
pascal void CountAppFiles(short *message,short *count);
pascal void GetAppFiles(short index,AppFile *theFile);
pascal void ClrAppFiles(short index);
void getappparms(char *apName,short *apRefNum,Handle *apParam);
#ifdef __cplusplus
}
#endif
#endif